public class Second {
	public static void main(String[] args) {
	getSJXarea(3,4);
	getZFXarea(2);
	getCFXarea(3,5);
	}
	public static void getSJXarea(double a ,double b) {
	System.out.println("The area of the triangle is:" + (a*b*0.5));
	}
	public static void getZFXarea(double a){
	System.out.println("The area of the square is:"+ (a*a));
	}
	public static void getCFXarea(double a ,double b){
	System.out.println("The area of the rectangle is:" + (a*b));
	}
}